package com.rul.mars.mbg.domain;

import com.rul.mars.mbg.model.Lease;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 租赁详情
 *
 * @author RuL
 */
@Data
public class LeaseDetail {
    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "店铺ID")
    private Long shopId;

    @ApiModelProperty(value = "商品ID")
    private Long productId;

    @ApiModelProperty(value = "租赁单编号")
    private String leaseSn;

    @ApiModelProperty(value = "订单总金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "单位租金")
    private BigDecimal unitRent;

    @ApiModelProperty(value = "商品数量")
    private Integer productNumber;

    @ApiModelProperty(value = "押金")
    private BigDecimal depositAmount;

    @ApiModelProperty(value = "运费")
    private BigDecimal freightAmount;

    @ApiModelProperty(value = "租借天数")
    private Integer rentDays;

    @ApiModelProperty(value = "支付方式")
    private Byte payType;

    @ApiModelProperty(value = "取件方式")
    private Byte pickupType;

    @ApiModelProperty(value = "订单状态")
    private Byte orderStatus;

    @ApiModelProperty(value = "物流公司")
    private String deliveryCompany;

    @ApiModelProperty(value = "物流编号")
    private String deliverySn;

    @ApiModelProperty(value = "收件人姓名")
    private String receiverName;

    @ApiModelProperty(value = "收件人手机号")
    private String receiverPhone;

    @ApiModelProperty(value = "省份/直辖市/自治区/特别行政区")
    private String receiverProvince;

    @ApiModelProperty(value = "地级市/自治州")
    private String receiverCity;

    @ApiModelProperty(value = "县/县级市/自治县")
    private String receiverRegion;

    @ApiModelProperty(value = "详细地址")
    private String receiverDetailAddress;

    @ApiModelProperty(value = "支付时间")
    private Date paymentTime;

    @ApiModelProperty(value = "归还、买入时间")
    private Date finishedTime;

    @ApiModelProperty(value = "押金扣除金额")
    private Long depositDeductAmount;

    @ApiModelProperty(value = "押金扣除详情")
    private String depositDeductDetail;

}
